home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-9.10-netbook-remix-PL.iso / casper / filesystem.squashfs / var / lib / dpkg / info / python-nevow.postinst < prev    next >
Text File  |  2009-03-23  |  575b  |  25 lines

  1. #! /bin/sh
  2.  
  3. set -e
  4.  
  5. case "$1" in
  6.     configure)
  7.         for p in $(pyversions -i); do
  8.             $p -c 'from twisted.plugin import IPlugin, getPlugins; list(getPlugins(IPlugin))' >/dev/null 2>&1 || true
  9.         done
  10.         ;;
  11. esac
  12.  
  13. # Automatically added by dh_pycentral
  14. rm -f /var/lib/pycentral/python-nevow.pkgremove
  15. if which pycentral >/dev/null 2>&1; then
  16.     pycentral pkginstall python-nevow
  17.     if grep -qs '^python-nevow$' /var/lib/pycentral/delayed-pkgs; then
  18.         sed -i '/^python-nevow$/d' /var/lib/pycentral/delayed-pkgs
  19.     fi
  20. fi
  21. # End automatically added section
  22.  
  23.  
  24. exit 0
  25.